
import React, { Component } from 'react'

export default class Detail extends Component {
  constructor(props){
    super(props);
    
    console.log("Params传参：this.props",this.props);

  }

  render() {
    return (
      <div>
        <h1>新闻详情</h1>
        <div>{this.props.match.params.newsid}</div>
      </div>
    )
  }
}
